iThemesSecurity\Lib\REST\Site_Types_Controller S

Total Complexity 29
Dependencies 15
Dependents 1
Total lines 319
Lines of code 262
Logical lines of code 71
Comment lines 16
Methods 11
Properties 2

Methods 11

Method Rating Maintainability Complexity Lines of code
get_item_schema()
A
34 8 119
prepare_item_for_database()
S
44 6 44
prepare_item_for_response()
S
46 5 40
register_routes()
S
54 1 24
get_item()
S
68 2 6
update_item()
S
69 2 7
__construct()
S
71 1 6
get_items_permissions_check()
S
80 1 3
get_items()
S
69 1 7
get_item_permissions_check()
S
80 1 3
update_item_permissions_check()
S
80 1 3